@layout("/backend/common/_container.html"){
<#Layout>
    <#Layout_Left title='业务数据类型'>
        <div class="dhcc-hisui-toolbar">
            <div class="dhcc-hisui-toolbar-seach" style="padding-bottom: 0px;">
                <#SearchBox id="dataName" name="" onEnter="CdcDictionary.enter"/>
            </div>
            <div class="dhcc-hisui-toolbar-btn">
                <a onclick="CdcDictionary.ztree.getObject().expandAll(true)" class="hisui-linkbutton"
                    style="width:48.5%" iconCls="icon-add" plain="true">展开全部</a>
                <a onclick="CdcDictionary.ztree.getObject().expandAll(false)" class="hisui-linkbutton"
                    style="width:48.5%" iconCls="icon-unuse" plain="true">折叠全部</a>
            </div>
        </div>
        <ul id="prodataTree" class="ztree"></ul>
    </#Layout_Left>
    <#Layout_Center>
        <#Layout inner="false">
            <#Layout_Left title='字典类型' width="400px">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="dhcc-con dhcc-con-boder">
                            <div class="dhcc-con-left">
                                <#InputCon id="descriptionType" name="描述" />
                            </div>
                            <div class="dhcc-con-right">
                                <#Button name="查询" icon="icon-w-find" clickFun="CdcDictype.search()" />
                            </div>
                        </div>
                        <div class="hidden-xs" id="CdcDictypeTableToolbar" role="group">
                            @if(shiro.hasPermission("cdcdictype:add")){
                            <#Button name="新增" icon="icon-add" plain="true" clickFun="CdcDictype.add()" />
                            @}
                            @if(shiro.hasPermission("cdcdictype:update")){
                            <#Button name="修改" icon="icon-write-order" plain="true" clickFun="CdcDictype.edit()" />
                            @}
                            @if(shiro.hasPermission("cdcdictype:delete")){
                            <#Button name="删除" icon="icon-cancel" plain="true" clickFun="CdcDictype.del()" />
                            @}
                        </div>
                        <#Table id="CdcDictypeTable"/>
                    </div>
                </div>
            </#Layout_Left>
            <#Layout_Center title='字典管理'>
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="dhcc-con dhcc-con-boder">
                            <div class="dhcc-con-left">
                                <#InputCon id="description" name="描述" />
                            </div>
                            <div class="dhcc-con-right">
                                <#Button name="查询" icon="icon-w-find" clickFun="CdcDictionary.search()" />
                            </div>
                        </div>
                        <div class="hidden-xs" id="CdcDictionaryTableToolbar" role="group">
                            @if(shiro.hasPermission("cdcdictionary:add")){
                            <#Button name="新增" icon="icon-add" plain="true" clickFun="CdcDictionary.add()" />
                            @}
                            @if(shiro.hasPermission("cdcdictionary:update")){
                            <#Button name="修改" icon="icon-write-order" plain="true" clickFun="CdcDictionary.edit()" />
                            @}
                            @if(shiro.hasPermission("cdcdictionary:delete")){
                            <#Button name="删除" icon="icon-cancel" plain="true" clickFun="CdcDictionary.del()" />
                            @}
                        </div>
                        <#Table id="CdcDictionaryTable" />
                    </div>
                </div>
            </#Layout_Center>
        </#Layout>
    </#Layout_Center>
</#Layout>
<script src="${ctxPath}/static/backend/cdc/cdcdictype/cdcdictype.js"></script>
<script src="${ctxPath}/static/backend/cdc/cdcdictionary/cdcdictionary.js"></script>
@}